package com.gcpproxy.model;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;
import java.util.Map;

/**
 * 生成内容请求模型
 */
public class GenerateContentRequest {

    @JsonProperty("contents")
    private List<Map<String, Object>> contents;

    @JsonProperty("generationConfig")
    private Map<String, Object> generationConfig;

    @JsonProperty("safetySettings")
    private List<Map<String, Object>> safetySettings;

    public List<Map<String, Object>> getContents() {
        return contents;
    }

    public void setContents(List<Map<String, Object>> contents) {
        this.contents = contents;
    }

    public Map<String, Object> getGenerationConfig() {
        return generationConfig;
    }

    public void setGenerationConfig(Map<String, Object> generationConfig) {
        this.generationConfig = generationConfig;
    }

    public List<Map<String, Object>> getSafetySettings() {
        return safetySettings;
    }

    public void setSafetySettings(List<Map<String, Object>> safetySettings) {
        this.safetySettings = safetySettings;
    }
}